import TableModel from '../../../src/components/ConfigTable/Model';

export default class extends TableModel {
    data = {
        ...this.data,
        columns: [{
            title: '项目名称',
            dataIndex: 'name',
            key: 'name',
            type: 'input'
        }, {
            title: '仓库地址',
            dataIndex: 'gitUrl',
            key: 'gitUrl',
            type: 'input'
        }, {
            title: '负责人',
            dataIndex: 'developer',
            key: 'developer',
            type: 'input'
        }, {
            title: '截止日期',
            dataIndex: 'endLine',
            key: 'endLine',
            type: 'input'
        }, {
            title: '说明',
            dataIndex: 'detail',
            key: 'detail',
            type: 'input'
        }, {
            title: '性别',
            dataIndex: 'sex',
            key: 'sex',
            type: 'select',
            params: {
                options: [{
                    key: '0',
                    label: '女'
                }, {
                    key: '1',
                    label: '男'
                }]
            }
        }],
        data: [{
            name: '项目1',
            gitUrl: 'git.yonyou.com',
            developer: '那个人、那个人',
            detail: '做整个做那个',
            endLine: '99999'
        }],
        status: 'edit'
    }
}